package com.moore.service;

import com.moore.bean.Work;

import java.util.List;
import java.util.Map;

public interface WorkService {

    List<Work> getWorksByPositionId(Integer positionId, String location, String keyword, Integer page, Integer pageSize);

    List<Work> getWorksByFilter(Map<String, Object> filters);

    int getWorkCountByPositionId(Integer positionId, String location, String keyword);

    int getWorkCountByFilter(Map<String, Object> filters);

    Work getWorkById(Integer id);

}
